package com.eva.framework.rbac.trace;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Schema(description = "日志跟踪配置")
@Configuration
@ConfigurationProperties(prefix = "app.trace", ignoreInvalidFields = true)
public class TraceProperties {

    @Schema(description = "开启智能跟踪模式")
    private Boolean smart;

    @Schema(description = "排除跟踪的URL正则")
    private String[] excludePatterns;
}
